Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

202
Views
How to Show the "View Cart" button link after "Add to Cart" button is Clicked on Single Product Page in Woocommerce

I need your help!

I am working on an eCommerce site project, everything is working fine except that the "View Cart" button is not showing on the Single Product Page after successful add to cart.

The "View Cart" button shows on the archive page (ajax add to cart) but not on the single product page.

I know this works out of the box in Woocommerce but for some reason, it's not working in my project.

I have followed the steps described in these articles

Change Add to Cart Button to View Cart Button after click in Woocommerce

How do remove Add To Cart button after a product is added in woo-commerce?

but it didn't work.

I tried this instead

Adding a custom button after add to cart button in single product pages

and I can see the "View Cart" button below the "Add to Cart" button. So, it worked partially. See below screenshot

The "View Cart" button showing directly below the "Add to Cart" button

Basically, I want the "View Cart" button to show in place of the "Add to Cart" button on the single product page after successful added to cart. Not to show directly below the "Add to Cart" button.

I appreciate your help.

Thank you!

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!